package com.lexue.dao;

import java.util.List;

import com.lexue.domain.City;

public interface ICity {

	public abstract void save(City transientInstance);

	public abstract void delete(City persistentInstance);

	public abstract City findById(java.lang.Integer id);

	public abstract List findByExample(City instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByCityName(Object cityName);

	public abstract List findAll();

	public abstract City merge(City detachedInstance);
	
	public abstract void updateCityName(Integer cityId,String cityName);

	public abstract void attachDirty(City instance);

	public abstract void attachClean(City instance);

}